#ifndef __DSTH_MESSAGE_H__
#define __DSTH_MESSAGE_H__
#include <string>

using namespace std;

class Message {
public:
    //static const size_t kMinMsgSize;
    enum MES_TYPE {
        MES_UNKNOW,
        MES_LOGIN,
        MES_P2P,
        MES_COUNT
    };
    MES_TYPE GetType() { return MES_UNKNOW; }
private:
    unsigned short code;
    string to;
    string from;
    string chat_text;    
};

#endif // __DSTH_MESSAGE_H__